package com.xpp.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixServiceImpl implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----paymentInfo_OK fall back-paymetntInfo_Ok";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----paymentInfo_OK fall back-paymetntInfo_TimeOut ";
    }
}
